import { createStore } from 'vuex'
// mutations name
export const SET_SEARCH_LIST = 'SET_SEARCH_LIST'

export default createStore({
  state: {
    searchList: [] as any[]
  },
  getters: {
  },
  mutations: {
    [SET_SEARCH_LIST](state, searchList) {
      state.searchList = searchList
    }
  },
  actions: {
  },
  modules: {
  }
})
